package com.example.tse.rbhttpservice.service.member.model;

import java.util.List;
import java.util.ArrayList;
import com.example.tse.rbhttpservice.service.RudderResponse;


//import com.rbyair.services.member.model.MemberGetFollowList;
/**
 * 获取我的关注列表
 * @author wliu
 * edit tse
 */
public class MemberGetFollowListResponse extends RudderResponse{
    
    private List<MemberGetFollowList> getFollowList = new ArrayList<MemberGetFollowList>();
		
	
    /**
     * @return getFollowList
     */	
    public List<MemberGetFollowList> getGetFollowList() { 
	    return this.getFollowList;
    };
	
	/**
     * @return getFollowList
     */	
    public void setGetFollowList(List<MemberGetFollowList> getFollowList) { 
        this.getFollowList = getFollowList;
    };
    
	
        
    private static void filterFor(MemberGetFollowList member) {
        if (member.getMemberId() == null) {
            member.setMemberId("");
        }
        if (member.getNickname() == null) {
            member.setNickname("");
        }
        if (member.getAvatar() == null) {
            member.setAvatar("");
        }
        if (member.getIsFollowed() == null) {
            member.setIsFollowed("");
        }
    }
        
    public static void filter(MemberGetFollowListResponse member) {
        if (member.getGetFollowList() == null) {
            member.setGetFollowList(new ArrayList<MemberGetFollowList>());
        } else {
            for (MemberGetFollowList item : member.getGetFollowList()) {
                filterFor(item);
            }
        }
    }
}
